BOOL CDialogProgress::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	//SpinؼֵΧ
	m_Spin.SetRange(1,50);
	//ıĳʼֵΪ1
	GetDlgItem(IDC_EDIT)->SetWindowText("1");

	m_Time.SetRange( 0, 10 );//ûֵΧ
	m_Time.SetPos( 1 );//軬ؼĳʼֵΪ1
	
	m_Progress.SetRange( 0, 100 );//ֵΧ
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
